﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="GoodStockIn.ascx.cs" Inherits="Controls_Activity_GoodStockIn" %>

        <div class="searchDiv" > 
<table cellspacing="0" class="searchTable" style="margin-top:10px; margin-left:10px;">
        <tr>
            <td>
            任务单号：
            </td>
            <td>
            <asp:TextBox ID="S_TaskCode" runat="server" CssClass="smallInput" MaxLength="64" ></asp:TextBox>
            </td> 
            <td>
            任务类型：
            </td>
            <td>
            <div class="select"><div><ofcc:DropDownList ID="S_SNTask" runat="server" ></ofcc:DropDownList>
            </div></div>
            </td>         
            <td>
            组别：&nbsp;&nbsp;
            </td>
            <td>
            <div class="select"><div><ofcc:DropDownList ID="tbGroup" runat="server" ></ofcc:DropDownList>
            </div></div>
            </td>
            <td>
            &nbsp;&nbsp;<asp:Button ID="Button1" runat="server" UseSubmitBehavior="false" OnClick="btnSearch_Click" Text=" 查询 "  CssClass="searchButton" /> 
            </td>
        </tr>
        </table> 
        </div>
        <ofcc:GridView ID="gridViewSelect" runat="server" AutoGenerateColumns="False" 
            onsplitpageindexchange="gridViewSelect_SplitPageIndexChange">
            <Columns>
                <asp:TemplateField HeaderText="选择">
                    <ItemTemplate>
                        <input ID="TaskID" name="TaskID" type="radio" 
                            value='<%#DataBinder.Eval(Container.DataItem,"TaskItemID")%>' />
                    </ItemTemplate>
                    <HeaderStyle Width="40px" />
                </asp:TemplateField>
                <asp:BoundField DataField="TaskCode" HeaderText="任务单号" />
                <asp:BoundField DataField="TaskName" HeaderText="任务类型" /> 
                <asp:BoundField DataField="GroupName" HeaderText="组别" />
                <asp:BoundField DataField="Guest" HeaderText="客户" />
                <asp:BoundField DataField="Phone" HeaderText="电话" />
                <asp:BoundField DataField="Location" HeaderText="地点" />
            </Columns>
        </ofcc:GridView>